import express from 'express'
import db from './mongodb/db'
import routes from './routes/index'
const app = express();

routes(app)

app.listen('3379', function () {
  console.log('server listening on 3379')
})